<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="moduleList" />

</head>
<body>

	<form:form action="${contextPath}/sys/base/article/list?navId=${navId}" id="contractArticleForm" name="listForm" modelAttribute="contractArticle" method="post" class="form-inline" role="form">
    
		<div class="o-l-action">
			<div class="form-group">
		      <input class="form-control"  placeholder="条款编码" name="article"/>
		    </div>
			<button type="submit" class="btn btn-primary">查询</button>
		<%-- 		<button class="btn btn-danger btn_3 btn_right" type="button" onclick="Oosp_DelChked('${contextPath}/sys/base/article/remove','table1','ids')">删除</button>
				<button class="btn btn-info btn_3 btn_right" type="button"   onclick="funform('${contextPath}/sys/base/article/add','_self')">新建</button> --%>
		</div>
   
		<tags:message content="${message}"/>
		<div class="o-l-search-builder f_9">
		<table class="table table-striped table-hover o-l-table" id="table1">
			<thead>
				<tr>
					<th style="width: 1px"><input type="checkbox" data-ckb="all"></th>
					<th>条款编码</th>
					<th>条款名称</th> 
					<th>条款的属性</th>
					<th>条款属性的名</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${page.list}" var="article">
					<tr data-herf="${contextPath}/sys/base/article/${article.id}/view?navId=${navId}" data-target="_self">
						<td class="o-l-tab-ckb">
							<input type="checkbox" data-ckb-id="${article.id}">
						</td>
						<td>${article.article}</td>
						<td>${article.articleName}</td>
						<td>${article.articleProperty}</td>
						<td>${article.articlePropertyName}</td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
		</div>
			<pager:pager pageSize="${page.pageSize}" pageNo="${page.pageNo}"
							url="" total="${page.total}" />
						<script type="text/javascript" src="${staticPath}/js/list.js"></script>
 	</form:form>

<script type="text/javascript">
$('.form_date').datetimepicker({
    language:  'zh-CN',
    weekStart: 1,
    todayBtn:  1,
	autoclose: 1,
	todayHighlight: 1,
	startView: 2,
	minView: 2,
	forceParse: 0,
	format: 'yyyy-mm-dd'
});
</script>
</body>
</html>